Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 16 - Storage Objects / Storage Objects Reference
Storage Objects Routines / Creating and Accessing Memory Storage Objects


Q3MemoryStorage_GetType

You can use the Q3MemoryStorage_GetType function to get the type of a memory storage object.

TQ3ObjectType Q3MemoryStorage_GetType (TQ3StorageObject storage);
storage
A memory storage object.
DESCRIPTION
The Q3MemoryStorage_GetType function returns, as its function result, the type of the memory storage object specified by the storage parameter. The types of memory storage objects currently supported by QuickDraw 3D are defined by this constant:

kQ3MemoryStorageTypeHandle
If the specified memory storage object is invalid or is not of this type, Q3MemoryStorage_GetType returns the value kQ3ObjectTypeInvalid.

ERRORS
kQ3ErrorNoSubclass
kQ3ErrorInvalidObjectParameter
kQ3ErrorNULLParameter


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996